//
//  HWGameDetailEvaluateCell.swift
//  HWanGame
//
//  Created by 王昌健 on 2022/3/16.
//  Copyright © 2022 94Wan. All rights reserved.
//

import UIKit
import Cosmos
class HWGameDetailEvaluateCell: UITableViewCell {
    var headImageView:UIImageView!
    var nameLabel:UILabel!
    var starView:CosmosView!
    var contentBgView:UIView!
    var contentLabel:UILabel!
    var bottomBgView:UIView!
    
    class func cellWithTableView(tableView:UITableView) -> (HWGameDetailEvaluateCell) {
        let reUse:String = "HWGameDetailEvaluateCell"
        
        var cell = tableView.dequeueReusableCell(withIdentifier: reUse)
        
        if cell == nil {
            cell = HWGameDetailEvaluateCell.init(style: UITableViewCell.CellStyle.default, reuseIdentifier: reUse)
        }
        
        return cell as! HWGameDetailEvaluateCell
    }
    
    
    override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
        super.init(style: style, reuseIdentifier: reuseIdentifier)
        
        initUI()
        initFrame()
    }
    
    func initUI() -> Void {
        selectionStyle = UITableViewCell.SelectionStyle.none
        backgroundColor = UIColor.clear
        
        
    }
    
    func initFrame() -> Void {
        
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }

}
